Menu Top
Complete Course of Mathematics
Topic 1: Numbers & Numerical Applications Topic 2: Algebra Topic 3: Quantitative Aptitude
Topic 4: Geometry Topic 5: Construction Topic 6: Coordinate Geometry
Topic 7: Mensuration Topic 8: Trigonometry Topic 9: Sets, Relations & Functions
Topic 10: Calculus Topic 11: Mathematical Reasoning Topic 12: Vectors & Three-Dimensional Geometry
Topic 13: Linear Programming Topic 14: Index Numbers & Time-Based Data Topic 15: Financial Mathematics
Topic 16: Statistics & Probability


Content On This Page
Equation of Lines Parallel to X-axis and Y-axis Point-Slope Form of a Line Two-Point Form of a Line
Slope-Intercept Form of a Line Intercept Form of a Line Normal Form of a Line


Straight Lines: Various Forms of Equations



Equation of Lines Parallel to X-axis and Y-axis

Lines parallel to the coordinate axes (x-axis and y-axis) are the simplest types of lines in the Cartesian plane. Their equations are particularly straightforward because one of the coordinates remains constant for all points lying on such a line.

Line Parallel to the X-axis (Horizontal Line)

A straight line is parallel to the x-axis if and only if it is a horizontal line. This means that the line maintains a constant vertical distance from the x-axis. Consequently, every point $(x, y)$ that lies on such a line has the same y-coordinate, regardless of its x-coordinate.

Let this constant y-coordinate value be denoted by $b$. Then, for any point $P(x, y)$ on this line, its y-coordinate must be equal to $b$. This condition defines the equation of the line.

Equation:

The equation of a line parallel to the x-axis and passing through a point with y-coordinate $b$ is:

$\mathbf{y = b}$

Horizontal line y=b

The slope of a horizontal line $y=b$ is $0$. Using the general form $0 \cdot x + 1 \cdot y - b = 0$, the slope $m = -\frac{A}{B} = -\frac{0}{1} = 0$. This is consistent with the angle of inclination being $0^\circ$, as $\tan 0^\circ = 0$.


Line Parallel to the Y-axis (Vertical Line)

A straight line is parallel to the y-axis if and only if it is a vertical line. This means that the line maintains a constant horizontal distance from the y-axis. Consequently, every point $(x, y)$ that lies on such a line has the same x-coordinate, regardless of its y-coordinate.

Let this constant x-coordinate value be denoted by $a$. Then, for any point $P(x, y)$ on this line, its x-coordinate must be equal to $a$. This condition defines the equation of the line.

Equation:

The equation of a line parallel to the y-axis and passing through a point with x-coordinate $a$ is:

$\mathbf{x = a}$

Vertical line x=a

The slope of a vertical line $x=a$ is undefined. Using the general form $1 \cdot x + 0 \cdot y - a = 0$, the slope $m = -\frac{A}{B} = -\frac{1}{0}$, which is undefined. This is consistent with the angle of inclination being $90^\circ$, as $\tan 90^\circ$ is undefined.


Example 1. Find the equation of the line parallel to the x-axis and passing through the point (3, -4). Also, find the equation of the line parallel to the y-axis and passing through the same point.

Answer:

Equation of the line parallel to the x-axis:

A line parallel to the x-axis is a horizontal line. Its equation is of the form $y = b$, where $b$ is the constant y-coordinate of all points on the line.

The line passes through the point (3, -4). This means the point (3, -4) must satisfy the equation of the line. The y-coordinate of this point is $-4$.

So, the constant y-coordinate for all points on the line must be $-4$.

$b = -4$

... (i)

Substitute the value of $b$ from equation (i) into the equation $y=b$.

The equation of the line parallel to the x-axis and passing through (3, -4) is $\mathbf{y = -4}$.


Equation of the line parallel to the y-axis:

A line parallel to the y-axis is a vertical line. Its equation is of the form $x = a$, where $a$ is the constant x-coordinate of all points on the line.

The line passes through the point (3, -4). This means the point (3, -4) must satisfy the equation of the line. The x-coordinate of this point is $3$.

So, the constant x-coordinate for all points on the line must be $3$.

$a = 3$

... (ii)

Substitute the value of $a$ from equation (ii) into the equation $x=a$.

The equation of the line parallel to the y-axis and passing through (3, -4) is $\mathbf{x = 3}$.


Equations of Axes-Parallel Lines (Summary)

Line Parallel to X-axis (Horizontal):

  • Equation: $\mathbf{y = b}$ (where $b$ is the constant y-coordinate).
  • Passes through point $(x_0, y_0)$: Equation is $y = y_0$.
  • Slope: $0$.

Line Parallel to Y-axis (Vertical):

  • Equation: $\mathbf{x = a}$ (where $a$ is the constant x-coordinate).
  • Passes through point $(x_0, y_0)$: Equation is $x = x_0$.
  • Slope: Undefined.

The Axes Themselves:

  • Equation of x-axis: $y = 0$.
  • Equation of y-axis: $x = 0$.


Point-Slope Form of a Line

The point-slope form is a useful way to represent the equation of a straight line when you are given the slope of the line and the coordinates of one point that lies on the line. This form is applicable to any non-vertical line.

Derivation of the Formula

Let $L$ be a non-vertical straight line in the Cartesian plane. Assume that we know the slope of this line, denoted by $m$. Let $P_1(x_1, y_1)$ be a specific fixed point that lies on the line $L$.

Now, let $P(x, y)$ be any other arbitrary point on the line $L$. Since $P(x, y)$ is on the line $L$ and is distinct from $P_1(x_1, y_1)$, we can use the definition of slope (using two points) to express the slope of the line segment $P_1P$.

Line L passing through P1(x1, y1) with slope m. P(x, y) is any other point.

The slope of the line passing through $P_1(x_1, y_1)$ and $P(x, y)$ is given by:

$m = \frac{y - y_1}{x - x_1}$

... (i)

Equation (i) is valid as long as $x \neq x_1$. This is true for any point $P(x, y)$ on the line $L$ that is different from $P_1(x_1, y_1)$, because the line is non-vertical, ensuring that different points on the line have different x-coordinates unless they are the same point.

Now, multiply both sides of equation (i) by $(x - x_1)$: (Since $x \neq x_1$, $x - x_1 \neq 0$, so we are not multiplying by zero).

$m(x - x_1) = y - y_1$

... (ii)

Rearranging equation (ii) to put the $y$ term first gives the standard Point-Slope Form:

$\mathbf{y - y_1 = m(x - x_1)}$

This equation is satisfied by the coordinates $(x, y)$ of any point on the line $L$. It is also satisfied by the coordinates of the fixed point $P_1(x_1, y_1)$ itself, as substituting $(x_1, y_1)$ into the equation yields $y_1 - y_1 = m(x_1 - x_1)$, which simplifies to $0 = m \cdot 0$, or $0 = 0$. This is a true statement, so $P_1$ lies on the line represented by this equation.

The point-slope form is particularly useful for writing the equation of a line directly when the slope and a point are known, without needing to first find the y-intercept.

Vertical Lines:

The point-slope form $y - y_1 = m(x - x_1)$ is not applicable to vertical lines because the slope $m$ is undefined. However, the equation of a vertical line is simply $x = x_1$, where $(x_1, y_1)$ is any point on the line.


Example 1. Find the equation of the line passing through the point (-2, 5) with a slope of 3.

Answer:

Given:

The line passes through the point $(x_1, y_1) = (-2, 5)$. So, $x_1 = -2$ and $y_1 = 5$.

The slope of the line is $m = 3$.

We can use the Point-Slope Form of the equation of a line, which is $y - y_1 = m(x - x_1)$.

Substitute the given values of $x_1$, $y_1$, and $m$ into the formula:

$y - 5 = 3(x - (-2))$

... (i)

Simplify equation (i):

$y - 5 = 3(x + 2)$

... (ii)

Equation (ii) is the equation of the line in Point-Slope Form. Depending on the requirement, you can leave the answer in this form or convert it to other forms.

Converting to Slope-Intercept Form ($y = mx + c$):

From equation (ii), distribute the 3 on the right side:

$y - 5 = 3x + 6$

Add 5 to both sides:

$y = 3x + 6 + 5$

... (iii)

$y = 3x + 11$

... (iv)

Equation (iv) is the equation in Slope-Intercept Form. Here, the slope is $m=3$ and the y-intercept is $c=11$.

Converting to General Form ($Ax + By + C = 0$):

From equation (iv), move all terms to one side:

$3x - y + 11 = 0$

The required equation of the line can be given in any of these forms, depending on the context or instructions. The Point-Slope form is typically considered as $y - 5 = 3(x + 2)$.


Point-Slope Form (Summary)

Formula:

For a non-vertical line with slope $m$ that passes through the point $(x_1, y_1)$, the equation is:

$\mathbf{y - y_1 = m(x - x_1)}$

When to Use:

When you know the slope and at least one point on the line.

Key Idea:

It's derived directly from the definition of slope using a fixed point $(x_1, y_1)$ and any other point $(x, y)$ on the line.

Note:

Not applicable for vertical lines (slope undefined). The equation of a vertical line through $(x_1, y_1)$ is simply $x = x_1$.



Two-Point Form of a Line

The two-point form is a method for finding the equation of a straight line when you are given the coordinates of two distinct points that lie on the line. This form is directly derived from the point-slope form by first calculating the slope using the given two points.

Let $P_1(x_1, y_1)$ and $P_2(x_2, y_2)$ be two distinct points that lie on the straight line $L$. We want to find the equation that represents all points $(x, y)$ on this line.

Derivation of the Formula

The first step in finding the equation of the line passing through two points is to determine its slope. If the line is non-vertical (i.e., $x_1 \neq x_2$), the slope $m$ of the line passing through $P_1(x_1, y_1)$ and $P_2(x_2, y_2)$ is given by the slope formula:

$m = \frac{y_2 - y_1}{x_2 - x_1}$

... (i)

Now that we have the slope $m$ (from equation (i)) and we know a point on the line (we can use either $P_1(x_1, y_1)$ or $P_2(x_2, y_2)$), we can use the Point-Slope Form of the equation of a line, which is $y - y_{\text{point}} = m(x - x_{\text{point}})$.

Let's use the point $P_1(x_1, y_1)$ and the slope $m = \frac{y_2 - y_1}{x_2 - x_1}$. Substituting these into the Point-Slope Form:

$y - y_1 = \left( \frac{y_2 - y_1}{x_2 - x_1} \right) (x - x_1)$

... (ii)

Equation (ii) is the Two-Point Form of the equation of a straight line. This equation is satisfied by the coordinates $(x, y)$ of any point on the line passing through $P_1$ and $P_2$.

Alternatively, if we had used the point $P_2(x_2, y_2)$ in the Point-Slope Form, we would get:

$y - y_2 = \left( \frac{y_2 - y_1}{x_2 - x_1} \right) (x - x_2)$

... (iii)

Equations (ii) and (iii) are equivalent and represent the same line. They can be algebraically manipulated into other forms like the slope-intercept form or the general form.

Special Case - Vertical Line:

If $x_1 = x_2$, the line passing through $P_1(x_1, y_1)$ and $P_2(x_2, y_2)$ is a vertical line (assuming $y_1 \neq y_2$, otherwise $P_1$ and $P_2$ are the same point). In this case, the denominator $x_2 - x_1$ in the slope formula is zero, and the slope is undefined. The Two-Point Form formula as written in equation (ii) is not directly applicable. However, the equation of a vertical line where all points have the same x-coordinate $x_1$ (or $x_2$) is simply $\mathbf{x = x_1}$ (or $\mathbf{x = x_2}$).


Example 1. Find the equation of the line passing through the points (1, 2) and (4, -3).

Answer:

Given the coordinates of the two points on the line:

Point $P_1(x_1, y_1) = (1, 2)$. So, $x_1 = 1$ and $y_1 = 2$.

Point $P_2(x_2, y_2) = (4, -3)$. So, $x_2 = 4$ and $y_2 = -3$.

We use the Two-Point Form of the equation of a line: $y - y_1 = \left( \frac{y_2 - y_1}{x_2 - x_1} \right) (x - x_1)$.

First, let's calculate the value of the slope term $\frac{y_2 - y_1}{x_2 - x_1}$:

$\frac{y_2 - y_1}{x_2 - x_1} = \frac{-3 - 2}{4 - 1} = \frac{-5}{3}$

... (i)

Now, substitute this slope value (from equation (i)) and the coordinates of point $P_1(x_1, y_1) = (1, 2)$ into the Two-Point Form:

$y - 2 = -\frac{5}{3} (x - 1)$

... (ii)

Equation (ii) is the equation of the line in Two-Point Form. We can simplify this equation and express it in other forms if required.

Converting to General Form ($Ax + By + C = 0$):

Multiply both sides of equation (ii) by 3 to clear the denominator:

$3(y - 2) = -5(x - 1)$

Distribute on both sides:

$3y - 6 = -5x + 5$

Move all terms to the left side:

$5x + 3y - 6 - 5 = 0$

$5x + 3y - 11 = 0$

... (iii)

Equation (iii) is the equation in General Form.

Converting to Slope-Intercept Form ($y = mx + c$):

From equation (ii), solve for $y$:

$y - 2 = -\frac{5}{3}x + \frac{5}{3}$

Add 2 to both sides (note $2 = 6/3$):

$y = -\frac{5}{3}x + \frac{5}{3} + 2$

$y = -\frac{5}{3}x + \frac{5}{3} + \frac{6}{3}$

$y = -\frac{5}{3}x + \frac{11}{3}$

... (iv)

Equation (iv) is the equation in Slope-Intercept Form. Here the slope is $-\frac{5}{3}$ (which matches our initial calculation in equation (i)) and the y-intercept is $\frac{11}{3}$.

The required equation of the line passing through the points (1, 2) and (4, -3) can be expressed as $\mathbf{y - 2 = -\frac{5}{3}(x - 1)}$, or $\mathbf{5x + 3y - 11 = 0}$, or $\mathbf{y = -\frac{5}{3}x + \frac{11}{3}}$.


Two-Point Form (Summary)

Formula:

For a non-vertical line passing through two distinct points $(x_1, y_1)$ and $(x_2, y_2)$:

$\mathbf{y - y_1 = \left( \frac{y_2 - y_1}{x_2 - x_1} \right) (x - x_1)}$

Alternatively, using $(x_2, y_2)$: $\mathbf{y - y_2 = \left( \frac{y_2 - y_1}{x_2 - x_1} \right) (x - x_2)}$

When to Use:

When you are given the coordinates of two points on the line.

Key Idea:

It combines the slope formula and the point-slope form.

Note:

The formula is not directly applicable if $x_1 = x_2$ (vertical line). For a vertical line through $(x_1, y_1)$ and $(x_1, y_2)$, the equation is $x = x_1$.



Slope-Intercept Form of a Line

The slope-intercept form is one of the most fundamental and widely used forms for representing the equation of a non-vertical straight line in the Cartesian coordinate system. This form directly gives us two key pieces of information about the line: its slope and where it crosses the y-axis.

The two parameters that define this form are:

Derivation of the Formula

We can derive the slope-intercept form using the point-slope form of a line. The point-slope form requires knowing the slope $m$ and the coordinates of any one point $(x_1, y_1)$ on the line, and is given by $y - y_1 = m(x - x_1)$.

In the case of the slope-intercept form, we are given the slope $m$ and the y-intercept $c$. The y-intercept corresponds to a specific point on the line, which is $(0, c)$.

We can use the point $(x_1, y_1) = (0, c)$ in the point-slope form. So, substitute $x_1 = 0$ and $y_1 = c$ into the formula $y - y_1 = m(x - x_1)$:

$y - c = m(x - 0)$

... (i)

Simplify equation (i):

$y - c = mx$

... (ii)

Now, rearrange equation (ii) to isolate $y$:

$\mathbf{y = mx + c}$

(Slope-Intercept Form)

This is the Slope-Intercept Form of the equation of a non-vertical line. Any point $(x, y)$ on the line satisfies this equation. Here, $m$ is the slope and $c$ is the y-intercept.

Slope-Intercept form y=mx+c

Vertical Lines:

The slope-intercept form $y = mx + c$ cannot represent a vertical line because the slope $m$ of a vertical line is undefined. The equation of a vertical line is always of the form $x = a$, where $a$ is a constant (the x-intercept). A vertical line has no y-intercept unless it is the y-axis itself ($x=0$), in which case it intersects the y-axis at infinitely many points.


Example 1. Find the equation of the line with slope -2 and y-intercept 5.

Answer:

Given:

Slope $m = -2$.

Y-intercept $c = 5$.

The Slope-Intercept Form of the equation of a line is $y = mx + c$.

Substitute the given values of $m$ and $c$ into the formula:

$y = (-2)x + 5$

... (i)

Simplify equation (i):

$\mathbf{y = -2x + 5}$

... (ii)

Equation (ii) is the required equation of the line in Slope-Intercept Form. This equation can also be written in the General Form $Ax + By + C = 0$ by rearranging terms:

$2x + y - 5 = 0$


Example 2. Find the slope and y-intercept of the line $3x + 5y - 15 = 0$.

Answer:

Given the equation of the line in General Form: $3x + 5y - 15 = 0$.

To identify the slope and y-intercept, we need to transform this equation into the Slope-Intercept Form, which is $y = mx + c$. This involves isolating the $y$ term on one side of the equation.

Start with the given equation:

$3x + 5y - 15 = 0$

... (i)

Subtract $3x$ and add 15 to both sides of equation (i) to isolate the $y$ term:

$5y = -3x + 15$

... (ii)

Divide the entire equation (ii) by 5 to solve for $y$:

$y = \frac{-3x + 15}{5}$

... (iii)

Separate the terms on the right side of equation (iii):

$y = -\frac{3}{5}x + \frac{15}{5}$

... (iv)

Simplify the fraction in equation (iv):

$y = -\frac{3}{5}x + 3$

... (v)

Equation (v) is now in the Slope-Intercept Form $y = mx + c$.

Comparing equation (v) with $y = mx + c$, we can directly identify the slope and the y-intercept:

The coefficient of $x$ is the slope, so $m = -\frac{3}{5}$.

The constant term is the y-intercept, so $c = 3$.

The slope of the line $3x + 5y - 15 = 0$ is $\mathbf{-\frac{3}{5}}$ and the y-intercept is $\mathbf{3}$.


Slope-Intercept Form (Summary)

Formula:

For a non-vertical line, the equation is:

$\mathbf{y = mx + c}$

Parameters:

  • $m$: Slope of the line.
  • $c$: Y-intercept (the y-coordinate where the line crosses the y-axis, point is $(0, c)$).

When to Use:

When the slope and y-intercept are known, or to easily find the slope and y-intercept from a given equation (by solving for $y$).

Note:

Does not apply to vertical lines ($x=a$) as their slope is undefined and they do not have a single y-intercept (unless it's the y-axis $x=0$).



Intercept Form of a Line

The intercept form is a way to write the equation of a straight line based on where it crosses the coordinate axes. This form is particularly useful when the intercepts are known or when you need to quickly find the intercepts from an equation.

This form utilizes two specific points on the line:

The intercept form is applicable only to lines that intersect both the x-axis and the y-axis at points other than the origin. This means both the x-intercept $a$ and the y-intercept $b$ must be non-zero ($a \neq 0$ and $b \neq 0$). Lines passing through the origin ($a=0$ and $b=0$), horizontal lines ($y=k$, $k \neq 0$, x-intercept undefined), and vertical lines ($x=a$, $a \neq 0$, y-intercept undefined) cannot be represented in this form.

Derivation of the Formula

Assume a line intersects the x-axis at the point $(a, 0)$ and the y-axis at the point $(0, b)$, where $a \neq 0$ and $b \neq 0$. We can derive the equation of this line using the Two-Point Form, which requires two points on the line. Our two points are $P_1(x_1, y_1) = (a, 0)$ and $P_2(x_2, y_2) = (0, b)$.

The Two-Point Form of the equation of a line is $y - y_1 = \left( \frac{y_2 - y_1}{x_2 - x_1} \right) (x - x_1)$.

Substitute the coordinates of $P_1(a, 0)$ and $P_2(0, b)$ into the formula:

$y - 0 = \left( \frac{b - 0}{0 - a} \right) (x - a)$

... (i)

Simplify equation (i):

$y = \left( \frac{b}{-a} \right) (x - a)$

... (ii)

$y = -\frac{b}{a} (x - a)$

... (iii)

Multiply both sides of equation (iii) by $a$ to eliminate the denominator (since $a \neq 0$):

$ay = -b(x - a)$

... (iv)

Distribute $-b$ on the right side of equation (iv):

$ay = -bx + ab$

... (v)

Rearrange the terms in equation (v) to bring the $x$ and $y$ terms to the left side and the constant term to the right side:

$bx + ay = ab$

... (vi)

Finally, divide the entire equation (vi) by $ab$. Since we assumed $a \neq 0$ and $b \neq 0$, $ab \neq 0$, so division by $ab$ is allowed:

$\frac{bx}{ab} + \frac{ay}{ab} = \frac{ab}{ab}$

... (vii)

Simplify the fractions in equation (vii):

$\mathbf{\frac{x}{a} + \frac{y}{b} = 1}$

(Intercept Form)

This is the Intercept Form of the equation of a line. Here, $a$ is the x-intercept and $b$ is the y-intercept. The equation is valid only for lines that cut both axes away from the origin.

Intercept form x/a + y/b = 1

Example 1. Find the equation of the line which makes intercepts -3 and 4 on the x and y axes respectively.

Answer:

Given:

The x-intercept is $a = -3$. This means the line crosses the x-axis at the point $(-3, 0)$.

The y-intercept is $b = 4$. This means the line crosses the y-axis at the point $(0, 4)$.

Since $a \neq 0$ and $b \neq 0$, we can use the Intercept Form of the equation of a line, which is $\frac{x}{a} + \frac{y}{b} = 1$.

Substitute the given values of $a$ and $b$ into the formula:

$\frac{x}{-3} + \frac{y}{4} = 1$

... (i)

Equation (i) is the required equation in Intercept Form. We can also express this equation in General Form by clearing the denominators.

Find the Least Common Multiple (LCM) of the denominators 3 and 4, which is 12. Multiply the entire equation (i) by 12:

$12 \left( \frac{x}{-3} \right) + 12 \left( \frac{y}{4} \right) = 12(1)$

... (ii)

Simplify equation (ii):

$\cancel{12}^{4} \left( \frac{x}{\cancel{-3}_{-1}} \right) + \cancel{12}^{3} \left( \frac{y}{\cancel{4}_{1}} \right) = 12$

$-4x + 3y = 12$

Move the constant term to the left side to get the General Form $Ax+By+C=0$:

$4x - 3y + 12 = 0$

... (iii)

The equation of the line is $\mathbf{\frac{x}{-3} + \frac{y}{4} = 1}$, or equivalently, $\mathbf{4x - 3y + 12 = 0}$.


Example 2. Find the intercepts made by the line $2x - 5y + 10 = 0$ on the coordinate axes.

Answer:

Given the equation in General Form: $2x - 5y + 10 = 0$.

To find the intercepts, we need to transform this equation into the Intercept Form $\frac{x}{a} + \frac{y}{b} = 1$. This involves isolating the constant term on the right side and making it equal to 1.

Start with the given equation:

$2x - 5y + 10 = 0$

... (i)

Move the constant term ($+10$) to the right side of equation (i):

$2x - 5y = -10$

... (ii)

The right side needs to be 1 for the Intercept Form. So, divide the entire equation (ii) by $-10$:

$\frac{2x}{-10} + \frac{-5y}{-10} = \frac{-10}{-10}$

... (iii)

Simplify the fractions in equation (iii):

$\frac{\cancel{2}^{1}x}{\cancel{-10}_{-5}} + \frac{\cancel{-5}^{1}y}{\cancel{-10}_{2}} = 1$

... (iv)

$\frac{x}{-5} + \frac{y}{2} = 1$

... (v)

Equation (v) is now in the Intercept Form $\frac{x}{a} + \frac{y}{b} = 1$.

Comparing equation (v) with the Intercept Form, we can directly identify the x-intercept and the y-intercept:

The denominator under the $x$ term is the x-intercept, so $a = -5$.

The denominator under the $y$ term is the y-intercept, so $b = 2$.

The intercepts made by the line $2x - 5y + 10 = 0$ on the coordinate axes are $\mathbf{-5}$ on the x-axis and $\mathbf{2}$ on the y-axis.

This means the line crosses the x-axis at $(-5, 0)$ and the y-axis at $(0, 2)$.


Intercept Form (Summary)

Formula:

For a line intersecting the x-axis at $(a, 0)$ and the y-axis at $(0, b)$, where $a \neq 0$ and $b \neq 0$:

$\mathbf{\frac{x}{a} + \frac{y}{b} = 1}$

Parameters:

  • $a$: x-intercept.
  • $b$: y-intercept.

When to Use:

When the x and y intercepts (not both zero) are known, or to easily find the intercepts from a given equation (by rearranging it to this form).

Note:

Not applicable for lines passing through the origin (e.g., $y=mx$) or for lines parallel to the axes (horizontal or vertical lines not passing through the origin).



Normal Form of a Line

The Normal Form, also sometimes referred to as the Perpendicular Form, of the equation of a straight line expresses the line's position in terms of the length of the perpendicular from the origin to the line and the angle that this perpendicular makes with the positive x-axis.

This form is defined by two parameters:

If the line passes through the origin, the perpendicular distance $p$ is $0$. In this case, the angle $\omega$ is usually not uniquely defined, or the form might not be considered (as lines through the origin are better represented by $y=mx$).

Derivation of the Formula

Let $L$ be the straight line whose equation we want to find in normal form. Let $ON$ be the perpendicular segment from the origin $O(0, 0)$ to the line $L$. Let $N$ be the foot of this perpendicular on the line $L$.

Given: The length of the perpendicular segment $ON = p$, and the angle that $ON$ makes with the positive x-axis is $\angle XON = \omega$.

Normal form of a line derivation

From the definition of trigonometric ratios in terms of coordinates, the coordinates of the point $N$ (the foot of the perpendicular on the line) can be determined. N is located at a distance $p$ from the origin along a ray making an angle $\omega$ with the x-axis. Therefore, the coordinates of N are:

$N \equiv (p \cos \omega, p \sin \omega)$

... (i)

The line $L$ passes through the point $N(p \cos \omega, p \sin \omega)$ and is perpendicular to the segment $ON$. We can use the point-slope form to find the equation of line $L$. We need the slope of $L$ and a point on $L$. We already have the point $N$.

First, find the slope of the segment $ON$. If $\cos \omega \neq 0$ (i.e., $\omega \neq 90^\circ, 270^\circ$), the slope of $ON$, denoted $m_{ON}$, is:

$m_{ON} = \frac{p \sin \omega - 0}{p \cos \omega - 0} = \frac{p \sin \omega}{p \cos \omega} = \tan \omega$

... (ii)

Since the line $L$ is perpendicular to $ON$, the product of their slopes is $-1$, provided neither is vertical. If $m_{ON} \neq 0$ (i.e., $\omega \neq 0^\circ, 180^\circ$), the slope of the line $L$, denoted $m_L$, is the negative reciprocal of $m_{ON}$:

$m_L = -\frac{1}{m_{ON}} = -\frac{1}{\tan \omega} = -\frac{\cos \omega}{\sin \omega}$

... (iii)

Now, use the Point-Slope form $y - y_1 = m(x - x_1)$ for line $L$, using the point $N(p \cos \omega, p \sin \omega)$ and the slope $m_L = -\frac{\cos \omega}{\sin \omega}$ (valid if $\sin \omega \neq 0$):

$y - p \sin \omega = -\frac{\cos \omega}{\sin \omega} (x - p \cos \omega)$

... (iv)

Multiply both sides of equation (iv) by $\sin \omega$ (assuming $\sin \omega \neq 0$, i.e., $\omega \neq 0^\circ, 180^\circ$):

$(y - p \sin \omega) \sin \omega = -\cos \omega (x - p \cos \omega)$

... (v)

Expand both sides of equation (v):

$y \sin \omega - p \sin^2 \omega = -x \cos \omega + p \cos^2 \omega$

Rearrange the terms to group $x$ and $y$ terms on one side and the constant term on the other:

$x \cos \omega + y \sin \omega = p \sin^2 \omega + p \cos^2 \omega$

$x \cos \omega + y \sin \omega = p (\sin^2 \omega + \cos^2 \omega)$

... (vi)

Using the fundamental trigonometric identity $\sin^2 \omega + \cos^2 \omega = 1$, equation (vi) simplifies to:

$\mathbf{x \cos \omega + y \sin \omega = p}$

(Normal Form)

This is the Normal Form of the equation of a straight line.

Verification for Special Cases (Axes Parallel Lines):

Let's check if this formula holds even when $\sin \omega = 0$ or $\cos \omega = 0$, which were excluded during the derivation steps.

Since the formula holds for all cases, $x \cos \omega + y \sin \omega = p$ is the general normal form for any line in the plane (assuming $p \ge 0$).


Converting General Form to Normal Form

Any linear equation in the general form $Ax + By + C = 0$ can be converted into the normal form $x \cos \omega + y \sin \omega = p$.

The two forms must represent the same line, so their coefficients must be proportional.

  1. Start with the general equation: $Ax + By + C = 0$.

  2. Rewrite the equation with the constant term on the right side: $Ax + By = -C$.

  3. In the normal form $x \cos \omega + y \sin \omega = p$, the right-hand side $p$ must be non-negative ($p \ge 0$). Adjust the equation from step 2 so that its right-hand side is non-negative.

    • If $-C \ge 0$ (i.e., $C \le 0$), the equation is already in the desired form on the right side: $Ax + By = -C$. Let $A' = A, B' = B, D = -C$.
    • If $-C < 0$ (i.e., $C > 0$), multiply the entire equation $Ax + By = -C$ by -1: $-Ax - By = C$. Now the right side $C$ is positive. Let $A' = -A, B' = -B, D = C$.
    So, we have $A'x + B'y = D$, where $D = |-C| \ge 0$. Note that $\sqrt{A'^2 + B'^2} = \sqrt{(\pm A)^2 + (\pm B)^2} = \sqrt{A^2 + B^2}$.

  4. Now, compare the equation $A'x + B'y = D$ with the normal form $x \cos \omega + y \sin \omega = p$. Since they represent the same line, their corresponding coefficients must be proportional. There exists a non-zero constant $k$ such that:

    $\cos \omega = k A'$

    ... (i)

    $\sin \omega = k B'$

    ... (ii)

    $p = k D$

    ... (iii)

  5. Use the identity $\cos^2 \omega + \sin^2 \omega = 1$ with equations (i) and (ii):

    $(k A')^2 + (k B')^2 = 1$

    $k^2 (A'^2 + B'^2) = 1$

    $k^2 = \frac{1}{A'^2 + B'^2}$

    $k = \pm \frac{1}{\sqrt{A'^2 + B'^2}}$

    From equation (iii), $p = kD$. Since $p \ge 0$ and $D \ge 0$, the constant $k$ must be non-negative ($k \ge 0$). Therefore, we take the positive root for $k$:

    $k = \frac{1}{\sqrt{A'^2 + B'^2}} = \frac{1}{\sqrt{A^2 + B^2}}$

    ... (iv)

    The value $\sqrt{A^2 + B^2}$ is called the normalization factor.

  6. Substitute the value of $k$ from equation (iv) back into equations (i), (ii), and (iii) to find the values of $\cos \omega$, $\sin \omega$, and $p$:

    $\cos \omega = \frac{A'}{\sqrt{A^2 + B^2}}$

    ... (v)

    $\sin \omega = \frac{B'}{\sqrt{A^2 + B^2}}$

    ... (vi)

    $p = \frac{D}{\sqrt{A^2 + B^2}} = \frac{|-C|}{\sqrt{A^2 + B^2}} = \frac{|C|}{\sqrt{A^2 + B^2}}$

    ... (vii)

To convert $Ax + By + C = 0$ to normal form:

First, write it as $Ax + By = -C$. Ensure the RHS is non-negative. If $C > 0$, change signs: $-Ax - By = C$.

Then, divide the entire equation by $\sqrt{A^2 + B^2}$ (or $\sqrt{(-A)^2 + (-B)^2}$ if signs were changed):

$\mathbf{\frac{A}{\pm\sqrt{A^2+B^2}} x + \frac{B}{\pm\sqrt{A^2+B^2}} y = \frac{-C}{\pm\sqrt{A^2+B^2}}}$

Choose the sign of $\sqrt{A^2+B^2}$ in the denominator such that the right-hand side $\frac{-C}{\pm\sqrt{A^2+B^2}}$ is positive. The resulting coefficients of $x$ and $y$ will be $\cos \omega$ and $\sin \omega$ respectively, and the RHS will be $p$.

The distance $p = \frac{|C|}{\sqrt{A^2+B^2}}$ is the perpendicular distance from the origin to the line $Ax+By+C=0$.


Example 1. Find the equation of the line for which the perpendicular distance from the origin is 4 units and the angle which the normal makes with the positive direction of the x-axis is $120^\circ$.

Answer:

Given:

Perpendicular distance from origin $p = 4$ units.

Angle which the normal makes with the positive x-axis $\omega = 120^\circ$.

We use the Normal Form of the equation of a line: $x \cos \omega + y \sin \omega = p$.

First, calculate the values of $\cos \omega$ and $\sin \omega$ for $\omega = 120^\circ$:

$\cos 120^\circ = \cos (180^\circ - 60^\circ) = -\cos 60^\circ = -\frac{1}{2}$

$\sin 120^\circ = \sin (180^\circ - 60^\circ) = \sin 60^\circ = \frac{\sqrt{3}}{2}$

Substitute these values and $p=4$ into the normal form equation:

$x \left(-\frac{1}{2}\right) + y \left(\frac{\sqrt{3}}{2}\right) = 4$

... (i)

To simplify equation (i), multiply the entire equation by 2:

$2 \left(-\frac{1}{2}x\right) + 2 \left(\frac{\sqrt{3}}{2}y\right) = 2(4)$

$-x + \sqrt{3}y = 8$

The equation of the line is $\mathbf{-x + \sqrt{3}y = 8}$. This can also be written in General Form as $x - \sqrt{3}y + 8 = 0$.


Example 2. Reduce the equation $3x - 4y - 10 = 0$ to the normal form and find the values of $p$ and $\omega$.

Answer:

Given the equation of the line in General Form: $3x - 4y - 10 = 0$.

This equation is in the form $Ax + By + C = 0$, where $A=3$, $B=-4$, and $C=-10$.

Step 1: Rewrite with constant on RHS.

$3x - 4y = 10$. Here, $-C = 10$, which is positive. So the RHS is already non-negative. This corresponds to $A'=3$, $B'=-4$, $D=10$.

Step 2: Calculate the normalization factor $\sqrt{A^2 + B^2}$.

The normalization factor is $\sqrt{3^2 + (-4)^2} = \sqrt{9 + 16} = \sqrt{25} = 5$.

Step 3: Divide the equation by the normalization factor.

Divide the equation $3x - 4y = 10$ by 5:

$\frac{3x}{5} - \frac{4y}{5} = \frac{10}{5}$

... (i)

Simplify equation (i):

$\frac{3}{5}x - \frac{4}{5}y = 2$

... (ii)

Equation (ii) is in the Normal Form $x \cos \omega + y \sin \omega = p$.

Step 4: Identify p and $\omega$.

Comparing equation (ii) with the normal form $x \cos \omega + y \sin \omega = p$, we can identify the parameters:

The perpendicular distance from the origin is $p = 2$. (Note $p = \frac{|C|}{\sqrt{A^2+B^2}} = \frac{|-10|}{5} = \frac{10}{5} = 2$, confirming the value).

The trigonometric values for the angle $\omega$ are $\cos \omega = \frac{3}{5}$ and $\sin \omega = -\frac{4}{5}$.

Since $\cos \omega$ is positive ($3/5 > 0$) and $\sin \omega$ is negative ($-4/5 < 0$), the angle $\omega$ lies in the Fourth Quadrant.

The normal form of the equation is $\mathbf{\frac{3}{5}x - \frac{4}{5}y = 2}$.

The perpendicular distance from the origin is $\mathbf{p = 2}$ units.

The angle of the normal is $\omega$, such that $\cos \omega = 3/5$ and $\sin \omega = -4/5$. This angle can be found using trigonometric tables or a calculator as $\omega = \arccos(3/5)$ in the 4th quadrant, or $\omega = \arctan(-4/3)$ ensuring the correct quadrant. $\omega \approx 306.87^\circ$ or $-53.13^\circ$.


Normal Form of a Line (Summary)

Formula:

The equation of a line where $p$ is the length of the perpendicular from the origin to the line ($p \ge 0$) and $\omega$ is the angle this perpendicular makes with the positive x-axis ($0^\circ \le \omega < 360^\circ$) is:

$\mathbf{x \cos \omega + y \sin \omega = p}$

Parameters:

  • $p$: Perpendicular distance from origin ($p \ge 0$).
  • $\omega$: Angle of the perpendicular from the origin to the line with the positive x-axis.

Converting from General Form $Ax + By + C = 0$:

  1. Write as $Ax + By = -C$.
  2. If $-C < 0$ (i.e., $C > 0$), change signs of all terms: $-Ax - By = C$. Let the equation be $A'x + B'y = D$, where $D \ge 0$.
  3. Divide the entire equation $A'x + B'y = D$ by $\sqrt{A'^2 + B'^2} = \sqrt{A^2 + B^2}$.
  4. The normal form is $\frac{A'}{\sqrt{A^2+B^2}} x + \frac{B'}{\sqrt{A^2+B^2}} y = \frac{D}{\sqrt{A^2+B^2}}$.

Identifying Parameters from Normal Form:

If $\frac{A'}{\sqrt{A^2+B^2}} x + \frac{B'}{\sqrt{A^2+B^2}} y = \frac{D}{\sqrt{A^2+B^2}}$ is the normal form:

  • $p = \frac{D}{\sqrt{A^2+B^2}} = \frac{|C|}{\sqrt{A^2+B^2}}$.
  • $\cos \omega = \frac{A'}{\sqrt{A^2+B^2}}$ and $\sin \omega = \frac{B'}{\sqrt{A^2+B^2}}$. The values of $\cos \omega$ and $\sin \omega$ determine $\omega$.

Note:

The normal form provides a unique representation for every line except those passing through the origin ($p=0$), where $\omega$ is indeterminate.